package com.example.battle.repository;

import com.example.battle.entity.sys.Account;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AccountRepository extends JpaRepository<Account,Long> {
    /**
     * 功能描述：
     *
     * @param username
     * @return
     */
    Account findByopenId(String openId);
    Account findBynickName(String nickName);
    Account findByAvatarUrl(String avatarUrl);
}
